<script>
    export default {
        data() {
            return {
                longitude:this.$store.getters.longitude,
                latitude:this.$store.getters.latitude,
                markers: [{
                    id: 1,
                    longitude: 117.12,
                    latitude: 36.651216,
                    name: 'T.I.T 陆科'
                }],
                covers: [{
                    longitude: this.$store.getters.longitude,
                    latitude: this.$store.getters.latitude,
                    iconPath: '/static/images/location.png'
                }]
            }
        },
        components: {},
        methods: {},
        onShow(){

        },
        mounted() {
        },
        created() {
        }
    }
</script>
<template>
    <div class="BaseMap">
        <!--地图容器-->
        <div class="mapperContainer">
            <map
                id="myMap"
                style="width: 100%; height: 300px;"
                :latitude="latitude"
                :longitude="longitude"
                :markers="markers"
                :covers="covers"
                show-location
            ></map>
        </div>
    </div>
</template>
<style lang='scss'>
    @import "BaseMap";
</style>
